package com.example.demo.Bean;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@Data
public class Report {

    @ExcelIgnore
    @TableId(type = IdType.AUTO)
    private Integer reportId;

    @ExcelProperty(value = "年级专业班级",index = 1)
    @TableField("class")
    private String classes;

    @ExcelProperty(value = "学号",index = 0)
    private String studentUid;

    @ExcelProperty(value = "姓名",index = 2)
    private String name;

    @ExcelIgnore
    private String path;

    @ExcelProperty(value = "上传时间",index = 3)
    private Date uploadTime;

    @ExcelIgnore
    private Integer status;

    @ExcelProperty(value = "分数",index = 4)
    private Float code;

    @ExcelProperty(value = "评语",index = 5)
    private String comment;

    @ExcelProperty(value="创建时间",index = 6)
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ExcelProperty(value="更新时间",index = 7)
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ExcelIgnore
    @TableLogic
    private Integer isDelete;

    @ExcelIgnore
    private Integer experimentId;
}
